﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MVC_Filter.Controllers
{
    public class SelectiveCacheController : Controller
    {
        //
        // GET: /SelectiveCache/
        public ActionResult Index()
        {
            Response.Write("Action method is running: " + DateTime.Now);
            return View(); 
        }
        [OutputCache(Duration = 30)]
        public ViewResult Children()
        {
            Response.Write("Chilren method is running: " + DateTime.Now);
            return View();
        }

    }
}